package cn.fengzhilun.javase.day09;

public abstract class Animal {
	public abstract void shout();
	
	
}
 class Cat extends Animal{

	@Override
	public void shout() {
		System.out.println("maio...");
	}
	 
	 
 }
 class Dog extends Animal{

	@Override
	public void shout() {
		System.out.println("wang...");
	}
	 
	 
	 
 }